package com.zy.controller;

import com.zy.Vo.ResultVo;
import com.zy.service.MxService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mx")
public class MxController {
    private MxService mxService;
    @GetMapping("/mxlist")
    public Object getmxList(){
        return ResultVo.sucess(mxService.getmxlist());
    }
}
